package com.itheima.goods.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.goods.pojo.Spec;
import entity.PageResult;
import entity.Result;

public interface SpecService extends IService<Spec> {
    Result fandAll();

    Result add(Spec spec);

    PageResult<Spec> findPage(Integer currentPage, Integer pageSize, String queryString);

    Result findById(Integer id);

    Result upDateSpec(Integer id,Spec spec);

    Result deleteSpec(Integer id);
}
